#include "Chapter1.h"


int main()
{
	int i,j;
	printf("Select a chapter:\n");
	scanf("%d", &i);
	printf("Select an exe index: \n");
	scanf("%d", &j);
	
	switch(i)
	{
		case 1:
			switch(j)
			{
				case 1: 
					printf("Example code in the text book in Chapter 1\n");
					printf("Input a series of col number ending by -1 and a string, it will output the number string within select col numbers\n");
					test_1();break;
				case 2: 
					printf("Exercise 1.2 code in the text book in Chapter 1\n");
					printf("Input any lines of string and it will output lines with line number\n");
					test_1_2();break;
			}
			break;
		default:
			break;
	}


	system("pause");

	return EXIT_SUCCESS;
}
